package com.gc.server.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;



import com.gc.server.entity.RouteEntity;
import com.gc.server.vo.RouteVo;

                
/**
 * 路线实体
 * 表名 route
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Oct 16 18:16:41 CST 2020
 */
@Data
public class RouteDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //
            @ExcelProperty("")
            private Long id;
        
                        //路线名称
            @ExcelProperty("路线名称")
            private String name;
        
                        //用户ID
            @ExcelProperty("用户ID")
            private Long userId;
        
                        //备注
            @ExcelProperty("备注")
            private String remark;
        
    
    public RouteDown() {

    }

    public RouteDown(RouteVo vo) {
        RouteEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setName(entity.getName());
            
                                    this.setUserId(entity.getUserId());
            
                                    this.setRemark(entity.getRemark());
            
            }


}
